node = current_node
pdm_server = node.pdm_server
if pdm_server
  upstream "pdm_up_at_#{node.name}" do
    server node.ip, pdm_server.up_port
  end
  location "/up/", "pdm_up_at_#{node.name}", :alias => "userpane"
end